<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ page trimDirectiveWhitespaces="true" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户信息</title>
    <link rel="stylesheet"       href="../jquery-ui-1.8.18/themes/base/jquery.ui.all.css" />
	<link rel="stylesheet"       href="../jquery-ui-1.8.18/jqGrid-4.3.1/css/ui.jqgrid.css" type="text/css" />
	<script type="text/javascript"     src="../jquery-ui-1.8.18/jquery-1.7.2.min.js"></script>
	<script type="text/javascript"    src="../jquery-ui-1.8.18/ui/jquery-ui.js"></script>
	<script type="text/javascript"      src="../jquery-ui-1.8.18/jqGrid-4.3.1/src/grid.loader.js"></script>
	<script type="text/javascript"     src="../jquery-ui-1.8.18/jqGrid-4.3.1/src/i18n/grid.locale-cn.js"></script>
	<script type="text/javascript"      src="../jquery-ui-1.8.18/jqGrid-4.3.1/js/jquery.jqGrid.min.js"></script>
	<script    type="text/javascript"  src="../util/util.js"></script>
	<script type="text/javascript"      src="handleOrder_js.js"></script>
</head>
<body>
<%@ include file="../main/Page_Header.jsp" %>
<form id="search" action="#">
<p>
订单 ID: <input type="text"  width="50px" name="Order_ID" id="OrderID">
订单名称 <input type="text" width="50px" name="Order_Name" id="OrderName">
订单状态 <input type="text" width="50px" name="Order_Status " id="OrderStatus">
</p>
<p>
业务员<input type="text" width="50px" name="UP_ID" id="UPID">
客户 : <input type="text"   width="50px" name="User_ID" id="UserID">
送货员 <input type="text"  width="50px" name="Deliver_ID" id="DeliverID">
</p>
<p>
添加时间 <input type="text" width="50px" name="Order_AddTime" id="Start_Order_AddTime">
- <input type="text"   width="50px" name="Order_AddTime" id="End_Order_AddTime">
</p>
</form>
<button id="find">搜索</button>
<div id="specify-form" title="订单派送">
<label class="Add_User_Msg"></label>
<form id="specify-action">
	<fieldset>
		<p for="name" style=" margin:0">订单ID</p>
		
		<input type="text" name="Order_ID" id="Dispatch_Order_ID" width="100" class="text ui-widget-content ui-corner-all" />
		<p for="name" style=" margin:0">送货员ID</p>
		
		<input type="text" name="Deliver_ID" id="Dispatch_Deliver_ID" width="100"  class="text ui-widget-content ui-corner-all" />
	</fieldset>	
	
	</form>	
		<fieldset>
	<p for="name" style=" margin:0">搜索送货员姓名:</p>
	<p for="name" style=" margin:0">
	<input type="text" name="User_Name" id="Find_Deliver_Name" width="100px"  class="text ui-widget-content ui-corner-all" />        <button id="Find_Deliver_Button">搜索</button>
	</p>
		
		</fieldset>	
			
				<!--  送货员表格-->
  <table id="songhuyuan"></table>
  <div id="songhuyuanpager"></div>
	</div>
	<!--  订单表格-->
  <table id="list1"></table>
  <div id="pager1"></div>

<div id="Info-form" title="退货留言">
<div id="ShowreturnInfo">
<p>dfs</p>
</div>
	</div>
	
<div id="AddOrder-form" title="创建订单">
<label class="Add_User_Msg"></label>
<form>
	<fieldset>
		<label for="name" style=" margin:0">客户ID(通过客户名称查找)</label>
		<p style=" margin:0"><input type="text" name="User_ID" id="Add_Order_UserID" class="text ui-widget-content ui-corner-all" />
		</p>
		
		<label for="name" style=" margin:0">备注</label>
		<p style=" margin:0" ><input type="text" name="Product_ID" id="Add_Order_Info" class="text ui-widget-content ui-corner-all" />
		</p>
	</fieldset>
  </form>
</div>	

<div id="AddOrderProduct-form" title="添加产品">
<label class="Add_User_Msg"></label>
<form>
	<fieldset>
		
		<label for="name" style=" margin:0">订单ID</label>
		<p style=" margin:0"><input type="text" name="User_ID" id="Add_OrderProduct_OrderID"  id="Add_OrderProduct_OrderID" class="text ui-widget-content ui-corner-all" />
		</p>
		
		<label for="name" style=" margin:0">客户ID</label>
		<p style=" margin:0"><input type="text" name="User_ID"  id="Add_OrderProduct_UserID"  id="Add_OrderProduct_UserID" class="text ui-widget-content ui-corner-all" />
		</p>
		
		<label for="name" style=" margin:0">产品ID(通过产品名称查找)</label>
		<p style=" margin:0"><input type="text" name="User_ID" id="Add_OrderProduct_ProductID" id="Add_OrderProduct_ProductID" class="text ui-widget-content ui-corner-all" />
		</p>
		
		<label for="name" style=" margin:0">产品数量</label>
		<p style=" margin:0"><input type="text" name="User_ID" id="Add_OrderProduct_ProductNum" class="text ui-widget-content ui-corner-all" />
		</p>
		
		<label for="name" style=" margin:0">备注</label>
		<p style=" margin:0" ><input type="text" name="Product_ID" id="Add_OrderProduct_Info class="text ui-widget-content ui-corner-all" />
		</p>
	</fieldset>
  </form>
</div>	

<script type="text/javascript"> 
		<!--初始化订单表格-->
		initOrderJqgrid();
	
</script> 
</body>
</html>

